@extends('layouts.header')
@section('title','智慧实验室')
@section('style')
    body{
    height:100%;
    overflow:hidden;
    background-color:rgb(1, 75, 132);
    background: url('http://z.gqjjc03.vip/admin/static/myfolder/img/zks/back2.png') no-repeat;
    background-size:100% 100%;
    font-size:100%;
    line-height:2;
    }
@endsection
@section('content')
    <article class="page-container">
        <form class="form form-horizontal pd-30" id="form" autocomplete="off">
            <div class="row cl">
                <label class="form-label col-sm-2">名称：</label>
                <div class="formControls col-sm-4">
                    <input type="text" class="input-text" value="{{ $data->name }}" placeholder="" disabled>
                </div>
                <label class="form-label col-sm-2">设备编号：</label>
                <div class="formControls col-sm-4">
                    <input type="text" class="input-text" value="{{ $data->dev_num }}" placeholder="" disabled>
                </div>
            </div>
            <div class="row cl">
                <label class="form-label col-sm-2">负责人：</label>
                <div class="formControls col-sm-4">
                    <input type="text" class="input-text" value="{{ $data->user }}" placeholder="" disabled>
                </div>
                <label class="form-label col-sm-2">出厂编号：</label>
                <div class="formControls col-sm-4">
                    <input type="text" class="input-text" value="{{ $data->fac_num }}" placeholder="" disabled>
                </div>
            </div>
            <div class="row cl">
                <label class="form-label col-sm-2">生产厂家：</label>
                <div class="formControls col-sm-4">
                    <input type="text" class="input-text" value="{{ $data->factory }}" placeholder="" disabled>
                </div>
                <label class="form-label col-sm-2">型号/规格：</label>
                <div class="formControls col-sm-4">
                    <input type="text" class="input-text" value="{{ $data->spec }}" placeholder="" disabled>
                </div>
            </div>
            <div class="row cl">
                <label class="form-label col-sm-2">准确度/等级：</label>
                <div class="formControls col-sm-4">
                    <input type="text" class="input-text" value="{{ $data->accuracy}}" placeholder="" disabled>
                </div>
                <label class="form-label col-sm-2">购入日期：</label>
                <div class="formControls col-sm-4">
                    <input type="text" class="input-text" value="{{ $data->buy_date }}" placeholder="" disabled>
                </div>
            </div>
            <div class="row cl">
                <label class="form-label col-sm-2">溯源方式：</label>
                <div class="formControls col-sm-4">
                    <input type="text" class="input-text" value="{{ $data->trace_type }}" placeholder="" id="created_at" disabled>
                </div>
                <label class="form-label col-sm-2">溯源单位：</label>
                <div class="formControls col-sm-4">
                    <input type="text" class="input-text" value="{{ $data->trace_com }}" placeholder="" disabled>
                </div>
            </div>
            <div class="row cl">
                <label class="form-label col-sm-2">溯源日期：</label>
                <div class="formControls col-sm-4">
                    <input type="text" class="input-text" value="{{ $data->trace_date }}" placeholder="" disabled>
                </div>
                <label class="form-label col-sm-2">溯源校准周期：</label>
                <div class="formControls col-sm-4">
                    <input type="text" class="input-text" value="{{ $data->trace_cycle }}" placeholder="" disabled>
                </div>
            </div>
            <div class="row cl">
                <label class="form-label col-sm-2">溯源有效期：</label>
                <div class="formControls col-sm-4">
                    <input type="text" class="input-text" value="{{ $data->trace_exp_date }}" placeholder="" disabled>
                </div>
                <label class="form-label col-sm-2">设备状态：</label>
                <div class="formControls col-sm-4">
                    <input type="text" class="input-text" value="{{ $data->status }}" placeholder="" disabled>
                </div>
            </div>
            <div class="row cl">
                <label class="form-label col-sm-2">量程范围：</label>
                <div class="formControls col-sm-4">
                    <input type="text" class="input-text" value="{{ $data->ranges }}" placeholder="" disabled>
                </div>
                <label class="form-label col-sm-2">使用次数：</label>
                <div class="formControls col-sm-4">
                    <input type="text" class="input-text" value="{{ $data->used_num }}次" placeholder="" disabled>
                </div>
            </div>
            <div class="row cl">
                <label class="form-label col-sm-2">备注：</label>
                <div class="formControls col-sm-10">
                    <input type="text" class="input-text" value="{{ $data->remark }}" placeholder="" disabled>
                </div>
            </div>
        </form>
    </article>
    <script>
        $(function () {
            $('label , input').css('color', '#fff');
            $('.input-text ').css('background-color','#144971').css('box-shadow','0 1px 0 0 #00dbfd').css('border-radius','20px').css('padding','10px');
        })
    </script>
@endsection